<div id="elgg_horizontal_tabbed_nav">
    <ul class="tabs">
       <li>
	      <a href="#tab1"><?php echo elgg_echo('map_location:list'); ?></a>
	   </li>
       <li>
	      <a href="#tab2" id="showMap" ><?php echo elgg_echo('map_location:map'); ?></a>
	   </li>
	   
    </ul>
<div class="tab_container">

    <div id="tab1" class="tab_content">
          <?php echo $vars['list'] ?>
    </div>

    <div id="tab2" class="tab_content" >
        <?php echo $vars['map'] ?>        
    </div>
</div>